//
//  UIVerticalLoopView.h
//  YYRXForClient
//
//  Created by 播利ios on 2016/12/8.
//  Copyright © 2016年 wujuntao. All rights reserved.
//

#import <UIKit/UIKit.h>

@class Vertical;

@protocol VerticalLoopDelegate<NSObject>
- (void)didClickContentAtIndex:(NSInteger)index;
@end

typedef enum{
    VerticalLoopDirectionBottom,
    VerticalLoopDirectionDown,
    
}VerticalLoopDirection;

@interface UIVerticalLoopView : UIView{
    // 创建两个label循环滚动
    Vertical *_firstContentLabel;
    Vertical *_secondContentLabel;
    // 记录
    int currentIndex;
}

@property (nonatomic,assign) float verticalLoopAnimationDuration;
@property (nonatomic,strong) NSArray *verticalLoopContentArr;
@property (nonatomic,assign) VerticalLoopDirection Direction;

@property (nonatomic,weak) id<VerticalLoopDelegate> loopDelegate;

-(void)start;

@end
